<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/default.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.6.2.js"></script> 
<script src="${pageContext.request.contextPath}/js/jquery.floatbox.10.4.min.js" type="text/javascript"></script>
<title>产品类型管理</title>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
	<table height="100%" width="100%" cellspacing="0" cellpadding="0" border="0">
		<s:form action="maintainbaseinfo" theme="simple">
         <s:hidden name="currentPage"></s:hidden> 
  			<tbody>
  				<tr>
      				<td height="100%" valign="top" align="center"> 
        				<table height="100" width="100%" cellspacing="1" cellpadding="5" border="0" bgcolor="#336600">
          					<tbody>
          						<tr> 
            						<td height="25" width="100%" bgcolor="#669900">
            							<strong><font color="#ffffff">产品类型管理</font></strong>
            						</td>
          						</tr>
					          	<tr> 
					            	<td height="26" bgcolor="#f5f5f5" align="left"> 　 
					            	  
					              		<input type="button" value="添加产品类型" name="Submit3" onClick="location='addProductType.action';"/>
					              	</td>
					          	</tr>
          						<tr bgcolor="#ffffff"> 
            						<td align="center">
            							<table height="0%" width="98%" cellspacing="1" cellpadding="3" border="0">
                							<tbody>
                								<tr bgcolor="#669900"> 
							                  		<td height="30%" width="8%" align="center"><font color="#ffffff"><b>序号</b></font></td>
							                  		<td width="40%" align="center"><font color="#ffffff"><b>名称</b></font></td>				                  									                  		
							                  		<td width="16%" align="center"><font color="#ffffff"><b>操作</b></font></td>
							                  		
                								</tr>
                								<s:set name="num" value="0"></s:set>
                                               <s:iterator value="types">
                                                
                								<tr bgcolor="#f9f9f9"> 
                  									<td height="35%" width="8%" align="center"><s:property value="#num"/></td>
                  									<td height="35%" width="16%"> 
                    									<s:property value="name"/>
                    								</td>
                  									<td height="35%" width="22%" align="center">
                    									<img hspace="5" align="absmiddle" src="${pageContext.request.contextPath}/images/admin/setuser.gif"><a href='<s:url value="editProductType.action"><s:param name="productTypeId" value="id"/></s:url>' >编辑</a>  
                  									</td>
                								</tr>
                							
                								<s:set name="num" value="%{#num+1}"/>
                                              </s:iterator>
              								</tbody>
              							</table>
              						</td>
          						</tr>
        					</tbody>
        				</table>
        			</td>
  				</tr>
  			</tbody>
  			</s:form>
  		</table>
 	</body>
</html>